/*
 * @Author: zsc
 * @Date: 2022-06-13 21:56:52
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-26 00:46:16
 * @Description:
 */
/**
 * ======================================
 * 行踪管理
 * author: SKY-D
 * file: whereabouts.js
 * date: 2022/6/12 13:09
 * ======================================
 */
import Layout from '@/layout'

const pre = 'whereabouts'
const router = {
  path: '/' + pre,
  component: Layout,
  redirect: '/whereabouts/list',
  name: pre,
  meta: {
    title: '访客管理',
    icon: 'el-icon-ly-xunjianguiji',
    permissions: ['TRACK']
  },
  children: [
    {
      path: 'warninglist',
      component: () => import('@/views/warning/list/components/personList'), // Parent router-view
      name: pre + 'list',
      meta: {
        title: '异常访客',
        permissions: ['TRACK']
      }
    },

    {
      path: 'list',
      component: () => import('@/views/whereabouts/list'), // Parent router-view
      name: pre + 'list',
      meta: {
        title: '详细进出数据',
        permissions: ['TRACK']
      }
    }
  ]
}

export default router
